<style type="text/css">
    #region_address .n-error{
        margin-left: 250px;
    }
</style>
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

  
  
   
 
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><a style="color: red">*</a>{:__('簽到時間')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-returnvisittime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[sign_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
   
 
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>

<script type="text/javascript">
    
    function removeParent(obj){
        $(obj).parent().remove();
        if ( $(".tag").length == 0 ) {
            $("#tag_f_div").hide();
        }else{
            $("#tag_f_div").show();
        }
    }
    function removeParents(obj){
        $(obj).parent().remove();
        if ( $(".tags").length == 0 ) {
            $("#tag_f_divs").hide();
        }else{
            $("#tag_f_divs").show();
        }
    }
</script>